<?php
/*
**前台判断是否登录
**
*/
  session_start();
 		if(!isset($_SESSION['uid'])){
			echo "<script>alert('您还未登录，请登录！');location.href='index.php?c=Login&a=loginView';</script>";
 			exit;
 		}

?>